import request from '@/utils/request'
/**
 * 查询所有的订单
 * @param {search} search
 */
export const search = (search) => {
  return request.fetchGet('/order/sys/getBizOrder', search)
}

export const simpleOrderList = () => {
  return request.fetchPost('/order/sys/simpleOrderList', { statusAll: '1,2,3' })
}

export const sendorder = (carId, orderId, price) => {
  return request.fetchGet('/order/sys/sendorder', { car: carId, orderid: orderId, price: price })
}
